﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class CheckLM : Message
    {
        public static int TYPE = 7;
        public static int ID = 111;

        private int lmid;

        public static CheckLM Create(int id)
        {
            CheckLM cm = new login.CheckLM();
            cm.lmid = id;
            return cm;
        }

        public void encode(Output _out)
        {
            _out.writeInt(lmid);
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "";
        }

        public void decode(Input _in)
        {
            
        }
    }
}
